package br.edu.ufcg.dsc.actions.resource;

import java.util.HashMap;
import java.util.Map;

import org.apache.struts2.config.Result;
import org.apache.struts2.dispatcher.ServletDispatcherResult;

import com.opensymphony.xwork2.ActionSupport;

@Result(name="success", type=ServletDispatcherResult.class, value="/jsp/resource/searchZ3950.jsp")
@SuppressWarnings("serial")
public class IndexSearchZ3950Action extends ActionSupport {

	public Map<String, String> getModes() {
		Map<String, String> modes = new HashMap<String, String>();
		
		modes.put("1", "Author");
		modes.put("4", "Title");
		modes.put("7", "ISBN");
		modes.put("8", "ISSN");
		
		return modes;
	}
	
}
